<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class About extends CI_Controller {

    /**
     *   网站后台
     *   王超伟
     * 	 2012.09.25
     * 	 art2006art#gmail.com
     */
    public function __construct() {
        parent::__construct();
        $this->load->helper('url');
        $this->load->helper('file');
        $this->load->helper('form');
        $this->load->helper('func');
        $this->load->database();
      $this->load->model('menu_process');
         $this->load->model('links_process');
    }

    public function index() {
        //或的action
       $class_name= __CLASS__;
       $date["menu_single_array"]=get_menu_array(strtolower($class_name)) ;      
       $date["links_array"]=$this->links_process->links_list(); 
       $data["menu_array"]=$this->menu_process->menu_front_list();  
       
       $this->load->view('front/header_view',$data);
       $this->load->view('front/about_view',$date);
       $this->load->view('front/footer_view');
    }


}

/* End of file admin.php */
/* Location: ./application/controllers/admin.php */